package web.admin.action;

import com.opensymphony.xwork2.ActionSupport;
import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.Result;

/**
 * Created with IntelliJ IDEA.
 * User: nico
 * Date: 19/10/12
 * Time: 16:30
 * To change this template use File | Settings | File Templates.
 */
@Namespace("/Excepciones")
public class ErrorController extends ActionSupport {

    @Action(value="main", results={
            @Result(name="success",location="/WEB-INF/jsp/Error/Error.jsp")
    })
    public String execute() {
        return SUCCESS;
    }

}
